package com.ehome.poct.base.dao.account.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ehome.mybatisplus.autoconfigure.BaseEntityOld;
import lombok.Data;

import java.math.BigDecimal;

/**
    * 预付款
    */
@Data
@TableName(value = "term_agent_prepayment")
public class TermAgentPrepaymentDO extends BaseEntityOld<TermAgentPrepaymentDO> {
    @TableId(value = "term_agent_prepayment_id")
    private Long termAgentPrepaymentId;

    /**
     * 预付款资金归属的名称
     */
    @TableField(value = "attribution_name")
    private String attributionName;

    /**
     * 剩余金额
     */
    @TableField(value = "remaining_amount")
    private BigDecimal remainingAmount;

    /**
     * 负责人id
     */
    @TableField(value = "liable_person_agent_id")
    private Long liablePersonAgentId;

    /**
     * 负责人姓名
     */
    @TableField(value = "liable_person_agent_name")
    private String liablePersonAgentName;

    /**
     * 负责人等级
     */
    @TableField(value = "liable_person_agent_level")
    private Byte liablePersonAgentLevel;

    /**
     * 负责人账号
     */
    @TableField(value = "liable_person_agent_login_name")
    private String liablePersonAgentLoginName;
}